//
//  DDQuestionAnswerReply.m
//  dingdang
//
//  Created by 阮 沧晖 on 15/7/26.
//  Copyright (c) 2015年 阮 沧晖. All rights reserved.
//

#import "DDQuestionAnswerReply.h"
@implementation DDQuestionAnswerReplyContentLabel

//@property(nonatomic,strong)NSString<Optional> *createTime;
//@property(nonatomic,strong)NSString<Optional> *id;
//@property(nonatomic,strong)NSString<Optional> *text;
//@property(nonatomic,strong)NSString<Optional> *title;
//@property(nonatomic,strong)NSString<Optional> *uid;
//@property(nonatomic,strong)NSString<Optional> *type;
//@property(nonatomic,strong)NSString<Optional> *url;
//@property(nonatomic,strong)NSString<Optional> *x;
//@property(nonatomic,strong)NSString<Optional> *y;
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"createTime" : @"createTime",
                                                      @"id" : @"id",
                                                      @"text" : @"text",
                                                      @"uid" : @"uid",
                                                      @"title" : @"title",
                                                      @"type" : @"type",
                                                      @"url" : @"url",
                                                      @"x" : @"x",
                                                      @"y" : @"y"
                                                      }];
}
@end

@implementation DDQuestionAnswerReplyContent
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"description" : @"desc",
                                                      @"id" : @"id",
                                                      @"labels" : @"labels",
                                                      @"text" : @"text",
                                                      @"title" : @"title",
                                                      @"type" : @"type",
                                                      @"url" : @"url"
                                                      }];
}
@end

@implementation DDQuestionAnswerReplyCell
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"answerId" : @"answerId",
                                                      @"children" : @"children",
                                                      @"content" : @"content",
                                                      @"createTime" : @"createTime",
                                                      @"content" : @"content",
                                                      @"explanation" : @"explanation",
                                                      @"display" : @"display",
                                                      @"id" : @"id",
                                                      @"parent" : @"parent",
                                                      @"uid" : @"uid",
                                                      @"userAvatarUrl" : @"userAvatarUrl",
                                                      @"nickName" : @"nickName",
                                                      @"userName" : @"userName"
                                                      }];
}
@end

@implementation DDQuestionAnswerReply
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"list" : @"list"
                                                      }];
}

@end
